package cn.pjz.domain;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * @author 阿洲
 */
@TableName("token")
@Getter
@Setter
@Data
@ApiModel(value = "token", description = "")
public class Token {

    @ApiModelProperty("主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableId("token")
    @ApiModelProperty("token")
    private String token;


    @TableId("verification_code")
    @ApiModelProperty("验证码")
    private String verificationCode;


}
